﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using SqlSugar;

namespace NP.BPMReportPlatform.ZHLC.Dto
{
    [ExcelExporter(Name = "召回流程", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetZHLCOutput
    {
        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader(DisplayName = "流程状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }

        /// 标题
        /// </summary>
        [ExporterHeader(DisplayName = "标题")]
        public string Title { get; set; }

        /// <summary>
        /// 召回原因
        /// </summary>
        [ExporterHeader(DisplayName = "召回原因")]
        public string Content { get; set; }

        /// <summary>
        /// 召回方法
        /// </summary>
        [ExporterHeader(DisplayName = "召回方法")]
        public string Content1 { get; set; }

        /// <summary>
        /// 危机应对对内/外沟通话术
        /// </summary>
        [ExporterHeader(DisplayName = "危机应对对内/外沟通话术")]
        public string Content2 { get; set; }

        /// <summary>
        /// 区域
        /// </summary>
        [ExporterHeader(DisplayName = "区域")]
        public string Area { get; set; }

        /// <summary>
        /// 分类
        /// </summary>
        [ExporterHeader(DisplayName = "分类")]
        public string Classification { get; set; }

        /// <summary>
        /// 召回范围
        /// </summary>
        [ExporterHeader(DisplayName = "召回范围")]
        public string RecallScope { get; set; }

        /// <summary>
        /// 预计损失
        /// </summary>
        [ExporterHeader(DisplayName = "预计损失")]
        public string EstimatedLoss { get; set; }

        /// <summary>
        /// 运输单号
        /// </summary>
        [ExporterHeader(DisplayName = "运输单号")]
        public string TransportNumber { get; set; }

        /// <summary>
        /// 流程说明
        /// </summary>
        [ExporterHeader(DisplayName = "流程说明")]
        public string Remark { get; set; }

    }
}